#ifndef H_TIMING
#define H_TIMING

#define WAITUS(time) BCSCTL2=(BCSCTL2 & 0xF9) | 0x08; TACCR0=time*3.5; TACTL=0x252; while (!(TACTL & 1))

void waitms(int time);
#endif /* H_TIMING */
